/// id : 100
/// factory_id : null
/// subSystemId : "3"
/// siteName : "示范站小桔站点"
/// remark : null
/// siteCode : "14217"
/// thirdAccessId : 1

class ThreePartModel {
  ThreePartModel({
      num? id, 
      dynamic factoryId, 
      String? subSystemId, 
      String? siteName, 
      dynamic remark, 
      String? siteCode, 
      num? thirdAccessId,}){
    _id = id;
    _factoryId = factoryId;
    _subSystemId = subSystemId;
    _siteName = siteName;
    _remark = remark;
    _siteCode = siteCode;
    _thirdAccessId = thirdAccessId;
}

  ThreePartModel.fromJson(dynamic json) {
    _id = json['id'];
    _factoryId = json['factory_id'];
    _subSystemId = json['subSystemId'];
    _siteName = json['siteName'];
    _remark = json['remark'];
    _siteCode = json['siteCode'];
    _thirdAccessId = json['thirdAccessId'];
  }
  num? _id;
  dynamic _factoryId;
  String? _subSystemId;
  String? _siteName;
  dynamic _remark;
  String? _siteCode;
  num? _thirdAccessId;
ThreePartModel copyWith({  num? id,
  dynamic factoryId,
  String? subSystemId,
  String? siteName,
  dynamic remark,
  String? siteCode,
  num? thirdAccessId,
}) => ThreePartModel(  id: id ?? _id,
  factoryId: factoryId ?? _factoryId,
  subSystemId: subSystemId ?? _subSystemId,
  siteName: siteName ?? _siteName,
  remark: remark ?? _remark,
  siteCode: siteCode ?? _siteCode,
  thirdAccessId: thirdAccessId ?? _thirdAccessId,
);
  num? get id => _id;
  dynamic get factoryId => _factoryId;
  String? get subSystemId => _subSystemId;
  String? get siteName => _siteName;
  dynamic get remark => _remark;
  String? get siteCode => _siteCode;
  num? get thirdAccessId => _thirdAccessId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['factory_id'] = _factoryId;
    map['subSystemId'] = _subSystemId;
    map['siteName'] = _siteName;
    map['remark'] = _remark;
    map['siteCode'] = _siteCode;
    map['thirdAccessId'] = _thirdAccessId;
    return map;
  }

}